﻿using System.Collections.Generic;
using Domain.Core;
using Domain.Core.Specification;
using Domain.MainModule.Entities;

namespace Domain.MainModule.Phones
{
    public interface IPhoneRepository 
        : IRepository<Phone>
    {
        Phone FindPhone(ISpecification<Phone> specification);
        IEnumerable<Phone> FindPhones(ISpecification<Phone> specification);
    }
}
